Total Complexity | 22 |
Dependencies | 6 |
Dependents | 5 |
Total lines | 152 |
Lines of code | 73 |
Logical lines of code | 41 |
Comment lines | 52 |
Methods | 7 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
discount_applies_to() | 57 | 7 | 16 | |
get_price() | 63 | 3 | 11 | |
get_cart_subtotal() | 63 | 3 | 10 | |
get_free_quantity() | 67 | 3 | 7 | |
get_discount() | 58 | 2 | 14 | |
get_product_price() | 69 | 2 | 7 | |
get_cart_items_ids() | 67 | 2 | 8 |